package ic.distribution.mapper;

import ic.distribution.domain.DTO.DefenseDTO;
import ic.distribution.domain.Defense;
import ic.distribution.domain.PO.DefensePO;
import ic.distribution.domain.VO.DefenseVo;
import io.swagger.models.auth.In;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

@Mapper
public interface DefenseMapper {

    void add(DefensePO defensePO);

    List<Defense> ScheduledDel();


    List<Defense> desenselist(DefenseVo defenseVo);

    List<Defense> effective();

    void update(DefenseDTO defenseDTO);

    void updstatu(Integer id);


    Integer togetcount();

    void cherkAll();


    void cherkPause();


    Defense finddefense(Integer id);

    void updstatu2(Integer id);
}
